package com.nq.fund.entity;

import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: st_fund
 * @Author: jeecg-boot
 * @Date:   2024-06-03
 * @Version: V1.0
 */
@Data
@TableName("st_fund")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class StFund implements Serializable {
    private static final long serialVersionUID = 1L;

	// 是否封闭
	public static final Integer CLOSED_NO = 0;
	public static final Integer CLOSED_YES = 1;

	/**id*/
	@TableId(type = IdType.AUTO)
    private Integer id;
	/**fundName*/
	@Excel(name = "fundName", width = 15)
    private String fundName;
	/**fundCode*/
	@Excel(name = "fundCode", width = 15)
    private String fundCode;
	/**market*/
	@Excel(name = "market", width = 15)
    private String market;
	/**initialPrice*/
	@Excel(name = "initialPrice", width = 15)
    private BigDecimal initialPrice;
	@Excel(name = "currentPrice", width = 15)
    private BigDecimal currentPrice;
	/**走势类型*/
	@Excel(name = "走势类型", width = 15)
    private String trendType;
	@Excel(name = "用户等级", width = 15)
	private Integer userLevel;
	/**最大波动范围*/
	@Excel(name = "最大波动范围", width = 15)
    private BigDecimal maxFluctuation;
	@Excel(name = "管理费百分比", width = 15)
    private BigDecimal manageProp;
	/**上涨趋势*/
	@Excel(name = "上涨趋势", width = 15)
    private BigDecimal upwardTrend;
	/**基金介绍*/
	@Excel(name = "基金介绍", width = 15)
    private String introduction;
	/**开盘时间*/
	@Excel(name = "开盘时间", width = 15)
    private String openTime;
	/**收盘时间*/
	@Excel(name = "收盘时间", width = 15)
    private String closeTime;
	/**status*/
	@Excel(name = "status", width = 15)
    private String status;
	/**createTime*/
    private Date createTime;

	// 是否是封闭期
	private Integer closed;
	// 封闭期天数
	private Integer closedDay;

	// 违约金比例
	private BigDecimal defaultRates;
	// 最小购买金额
	private Integer minBuyMoment;
	// 最大购买次数
	private Integer maxBuyTimes;

}
